import { axios } from '@/utils/request'

/**
 * 查询钻石充值参数表
 *
 * @author 郑雄伟
 * @date 2024-01-02 18:06:17
 */
export function appDiamondPackagePage (parameter) {
  return axios({
    url: '/appDiamondPackage/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 钻石充值参数表列表
 *
 * @author 郑雄伟
 * @date 2024-01-02 18:06:17
 */
export function appDiamondPackageList (parameter) {
  return axios({
    url: '/appDiamondPackage/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加钻石充值参数表
 *
 * @author 郑雄伟
 * @date 2024-01-02 18:06:17
 */
export function appDiamondPackageAdd (parameter) {
  return axios({
    url: '/appDiamondPackage/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑钻石充值参数表
 *
 * @author 郑雄伟
 * @date 2024-01-02 18:06:17
 */
export function appDiamondPackageEdit (parameter) {
  return axios({
    url: '/appDiamondPackage/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除钻石充值参数表
 *
 * @author 郑雄伟
 * @date 2024-01-02 18:06:17
 */
export function appDiamondPackageDelete (parameter) {
  return axios({
    url: '/appDiamondPackage/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出钻石充值参数表
 *
 * @author 郑雄伟
 * @date 2024-01-02 18:06:17
 */
export function appDiamondPackageExport (parameter) {
  return axios({
    url: '/appDiamondPackage/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
